<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="" method="get" name="search">
        <label for="name">用户名</label><!--与input配对，点击lable，input会获得焦点-->
        <input id="name" type="text">
        <input type="submit" value="确定">
    </form>
</body>
</html>